package com.xj0927.springcloud.dao;

import com.xj0927.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: xj0927
 * @Description:
 * @Date Created in 2020-10-22 16:16
 * @Modified By:
 */
@Mapper
public interface PaymentDao {

    public int create(Payment payment);

    public Payment getPaymentById(@Param("id")Long id);

}
